feat: Integrate Local Gemma 4 AI with Model Selection & Auto-Download for Kaggle Hackathon#13
Merged
Merged
Conversation
- Add Gemma4Service with local inference capabilities using flutter_gemma package - Implement model download and management functionality for Gemma models - Create SetupModelScreen allowing users to choose and download Gemma models - Add ModelDownloadTile widget for displaying and managing available models - Update README to document Gemma 4 integration and local inference features - Modify RequestDetailScreen to use Gemma4Service instead of GeminiService - Update AppBarWidget to include model setup button - Add flutter_gemma dependency to pubspec.yaml - Remove old Gemini API integration and related code - Update .gitignore with proper formatting This integration provides local AI inference using Gemma models with privacy-focused on-device processing, replacing the previous cloud-based Gemini API implementation.
- Added flutter_gemma plugin to macOS project. - Updated GeneratedPluginRegistrant.swift to register FlutterGemmaPlugin. - Modified Podfile to include setup script for LiteRT-LM Desktop. - Updated Podfile.lock to include flutter_gemma dependency. - Adjusted project.pbxproj to include FlutterGeneratedPluginSwiftPackage. - Added shell script phase for LiteRT-LM Desktop setup in Xcode project. - Updated Runner.xcscheme to run Flutter framework preparation script. - Modified entitlements files to disable library validation for security. - Updated widget test to reference the main application entry point.
…ver for HomeScreen auto-refresh, fix conversation deletion and markdown exports
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Objective
Align project with Kaggle Gemma 4 Good Hackathon requirements by replacing cloud-based Gemini API with local, privacy-first Gemma 4 inference.
✨ Key Changes
GeminiService(Cloud API).Gemma4Serviceusingflutter_gemmapackage for on-device inference.🛡️ Hackathon Alignment
🚀 How to Test
flutter pub get.